function e(e, n, t) {
    return n in e ? Object.defineProperty(e, n, {
        value: t,
        enumerable: !0,
        configurable: !0,
        writable: !0
    }) : e[n] = t, e;
}
var n, t = null, i = require("../../utils/util.js"), a = require("../../config/api.js");

getApp(), Page((n = {
    data: {
        auth_loca: !1,
        willRain: 0,
        skycon_desc: "云",
        skycon: "duoyun",
        klass: ""
    },
    gz: function() {
        wx.navigateTo({
            url: "/pages/web-view/web-view?id=5"
        });
    },
    ios: function() {
        wx.navigateTo({
            url: "/pages/web-view/web-view?id=1"
        });
    },
    az: function() {
        wx.navigateTo({
            url: "/pages/web-view/web-view?id=2"
        });
    },
    cp: function() {
        wx.navigateTo({
            url: "/pages/web-view/web-view?id=3"
        });
    },
    bindItemClick: function(e) {
        console.log(e), wx.navigateTo({
            url: e.currentTarget.dataset.page
        });
    },
    onLoad: function() {
        wx.createInterstitialAd && ((t = wx.createInterstitialAd({
            adUnitId: "adunit-a2c2bdff627f59a1"
        })).onLoad(function() {}), t.onError(function(e) {}), t.onClose(function() {})), 
        t && t.show().catch(function(e) {
            console.error(e);
        });
    },
    onShareAppMessage: function() {
        return {
            title: "查战力、做头像、改重名，超多实用功能等你来体验！",
            path: "/pages/index/index"
        };
    },
    getAddress: function(e) {
        var n = this;
        i.request(a.WHERE.replace("#LOCATION#", e), {}, "GET", !0).then(function(e) {
            0 === e.status && n.setData({
                address: e.result
            });
        });
    },
    onReady: function() {}
}, e(n, "onLoad", function(e) {}), e(n, "support", function() {}), e(n, "onHide", function() {}), 
e(n, "onUnload", function() {}), n));